<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="../../">
<head>
  <meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>ChromeOptions &mdash; Selenium-Driverless 1.9.3.1 documentation</title>
      <link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=80d5e7a1" />
      <link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=19f00094" />

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
        <script src="../../_static/jquery.js?v=5d32c60e"></script>
        <script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
        <script src="../../_static/documentation_options.js?v=58554080"></script>
        <script src="../../_static/doctools.js?v=888ff710"></script>
        <script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
    <script src="../../_static/js/theme.js"></script>
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="Context" href="../Context/" />
    <link rel="prev" title="webdriver.Chrome" href="../Chrome/" /> 
</head>

<body class="wy-body-for-nav"> 
  <div class="wy-grid-for-nav">
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >

          
          
          <a href="../../" class="icon icon-home">
            Selenium-Driverless
          </a>
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>
        </div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../By/">By Element Locator</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Chrome/">webdriver.Chrome</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">ChromeOptions</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#selenium_driverless.types.options.Options"><code class="docutils literal notranslate"><span class="pre">Options</span></code></a><ul>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.use_extension"><code class="docutils literal notranslate"><span class="pre">Options.use_extension</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.arguments"><code class="docutils literal notranslate"><span class="pre">Options.arguments</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.add_argument"><code class="docutils literal notranslate"><span class="pre">Options.add_argument()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.add_arguments"><code class="docutils literal notranslate"><span class="pre">Options.add_arguments()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.prefs"><code class="docutils literal notranslate"><span class="pre">Options.prefs</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.update_pref"><code class="docutils literal notranslate"><span class="pre">Options.update_pref()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.user_data_dir"><code class="docutils literal notranslate"><span class="pre">Options.user_data_dir</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.downloads_dir"><code class="docutils literal notranslate"><span class="pre">Options.downloads_dir</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.headless"><code class="docutils literal notranslate"><span class="pre">Options.headless</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.startup_url"><code class="docutils literal notranslate"><span class="pre">Options.startup_url</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.binary_location"><code class="docutils literal notranslate"><span class="pre">Options.binary_location</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.env"><code class="docutils literal notranslate"><span class="pre">Options.env</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.add_extension"><code class="docutils literal notranslate"><span class="pre">Options.add_extension()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.debugger_address"><code class="docutils literal notranslate"><span class="pre">Options.debugger_address</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.single_proxy"><code class="docutils literal notranslate"><span class="pre">Options.single_proxy</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.auto_clean_dirs"><code class="docutils literal notranslate"><span class="pre">Options.auto_clean_dirs</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.enable_mobile"><code class="docutils literal notranslate"><span class="pre">Options.enable_mobile()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.accept_insecure_certs"><code class="docutils literal notranslate"><span class="pre">Options.accept_insecure_certs</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.ignore_local_proxy_environment_variables"><code class="docutils literal notranslate"><span class="pre">Options.ignore_local_proxy_environment_variables()</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="#selenium_driverless.types.options.Options.add_experimental_option"><code class="docutils literal notranslate"><span class="pre">Options.add_experimental_option()</span></code></a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Context/">Context</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Input/">Input</a></li>
<li class="toctree-l1"><a class="reference internal" href="../RequestInterception/">Request-Interception</a></li>
<li class="toctree-l1"><a class="reference internal" href="../Target/">Target</a></li>
<li class="toctree-l1"><a class="reference internal" href="../WebELement/">WebElement</a></li>
</ul>

        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Selenium-Driverless</a>
      </nav>

      <div class="wy-nav-content">
        <div class="rst-content">
          <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="../../" class="icon icon-home" aria-label="Home"></a></li>
      <li class="breadcrumb-item active">ChromeOptions</li>
      <li class="wy-breadcrumbs-aside">
            <a href="../../_sources/api/ChromeOptions.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
             
  <section id="chromeoptions">
<h1>ChromeOptions<a class="headerlink" href="#chromeoptions" title="Link to this heading"></a></h1>
<dl class="py class">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options">
<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">selenium_driverless.types.options.</span></span><span class="sig-name descname"><span class="pre">Options</span></span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options" title="Link to this definition"></a></dt>
<dd><p>the <cite>webdriver.ChromeOptions</cite> class</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>options should not be reused</p>
</div>
<dl class="py attribute">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.use_extension">
<span class="sig-name descname"><span class="pre">use_extension</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code></em><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">True</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.use_extension" title="Link to this definition"></a></dt>
<dd><p>don’t add the chrome-extension by default</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>setting proxies and auth while running requires the extension to be added. 
As an alternative, you might use <code class="docutils literal notranslate"><span class="pre">--proxy-server=host:port</span></code> and <a class="reference external" href="https://kaliiiiiiiiii.github.io/Selenium-Driverless/api/RequestInterception/#request-interception">Requests-interception</a> to provide auth</p>
</div>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.arguments">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">arguments</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">List</span><span class="p"><span class="pre">[</span></span><span class="pre">str</span><span class="p"><span class="pre">]</span></span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.arguments" title="Link to this definition"></a></dt>
<dd><p>used arguments for the chrome executable</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.add_argument">
<span class="sig-name descname"><span class="pre">add_argument</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">argument</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.add_argument"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.add_argument" title="Link to this definition"></a></dt>
<dd><p>Adds an argument for launching chrome</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>argument</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – argument to add</p>
</dd>
</dl>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.add_arguments">
<span class="sig-name descname"><span class="pre">add_arguments</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">arguments</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.add_arguments"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.add_arguments" title="Link to this definition"></a></dt>
<dd><p>add multiple arguments</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>arguments</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – arguments to add</p>
</dd>
</dl>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.prefs">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">prefs</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">dict</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.prefs" title="Link to this definition"></a></dt>
<dd><p>the preferences as json</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.update_pref">
<span class="sig-name descname"><span class="pre">update_pref</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pref</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.update_pref"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.update_pref" title="Link to this definition"></a></dt>
<dd><p>update a preference</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>pref</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – name of the preference (“.” dot path)</p></li>
<li><p><strong>value</strong> – the value to set the preference to</p></li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.user_data_dir">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">user_data_dir</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.user_data_dir" title="Link to this definition"></a></dt>
<dd><p>the directory to save all browser data in.
<code class="docutils literal notranslate"><span class="pre">None</span></code> (default) will temporarily create a directory in $temp</p>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.downloads_dir">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">downloads_dir</span></span><a class="headerlink" href="#selenium_driverless.types.options.Options.downloads_dir" title="Link to this definition"></a></dt>
<dd><p>the default directory to download files to.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">_dir</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">getcwd</span><span class="p">()</span><span class="o">+</span><span class="s2">&quot;/downloads&quot;</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isdir</span><span class="p">(</span><span class="n">_dir</span><span class="p">):</span>
    <span class="n">os</span><span class="o">.</span><span class="n">mkdir</span><span class="p">(</span><span class="n">_dir</span><span class="p">)</span>
<span class="n">options</span> <span class="o">=</span> <span class="n">webdriver</span><span class="o">.</span><span class="n">ChromeOptions</span><span class="p">()</span>
<span class="n">options</span><span class="o">.</span><span class="n">downloads_dir</span> <span class="o">=</span> <span class="n">_dir</span>
<span class="n">options</span><span class="o">.</span><span class="n">update_pref</span><span class="p">(</span><span class="s2">&quot;plugins.always_open_pdf_externally&quot;</span><span class="p">,</span> <span class="kc">True</span><span class="p">)</span>
<span class="k">async</span> <span class="k">with</span> <span class="n">webdriver</span><span class="o">.</span><span class="n">Chrome</span><span class="p">(</span><span class="n">options</span><span class="o">=</span><span class="n">options</span><span class="p">)</span> <span class="k">as</span> <span class="n">driver</span><span class="p">:</span>
    <span class="n">download_data</span> <span class="o">=</span> <span class="k">await</span> <span class="n">driver</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s1">&#39;https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf&#39;</span><span class="p">,</span> <span class="n">timeout</span><span class="o">=</span><span class="mi">5</span><span class="p">)</span>
    <span class="nb">print</span><span class="p">(</span><span class="n">download_data</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s2">&quot;guid_file&quot;</span><span class="p">))</span>
</pre></div>
</div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>path has to be absolute</p>
</div>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.headless">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">headless</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">bool</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.headless" title="Link to this definition"></a></dt>
<dd><p>Whether chrome starts headless.
defaults to <code class="docutils literal notranslate"><span class="pre">False</span></code></p>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.startup_url">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">startup_url</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.startup_url" title="Link to this definition"></a></dt>
<dd><p>the url the first tab loads.
Defaults to <code class="docutils literal notranslate"><span class="pre">about:blank</span></code></p>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.binary_location">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">binary_location</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.binary_location" title="Link to this definition"></a></dt>
<dd><p>path to the Chromium binary</p>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.env">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">env</span></span><a class="headerlink" href="#selenium_driverless.types.options.Options.env" title="Link to this definition"></a></dt>
<dd><p>the env for <code class="docutils literal notranslate"><span class="pre">subprocess.Popen,</span> <span class="pre">``os.environ</span></code> by default</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.add_extension">
<span class="sig-name descname"><span class="pre">add_extension</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">path</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.add_extension"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.add_extension" title="Link to this definition"></a></dt>
<dd><p>Adds an extension to Chrome
The extension can either be a compressed file (zip, crx, etc.) or extracted in a directory</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><p><strong>path</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – path to the extension</p>
</dd>
<dt class="field-even">Return type<span class="colon">:</span></dt>
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
</dd>
</dl>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.debugger_address">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">debugger_address</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">str</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.debugger_address" title="Link to this definition"></a></dt>
<dd><p>The address of the remote devtools instance in format “host:port”
Setting this value makes the driver connect to a remote browser instance (unless you set user-data-dir as well)</p>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.single_proxy">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">single_proxy</span></span><a class="headerlink" href="#selenium_driverless.types.options.Options.single_proxy" title="Link to this definition"></a></dt>
<dd><p>Set a single proxy to be applied.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">options</span> <span class="o">=</span> <span class="n">webdriver</span><span class="o">.</span><span class="n">ChromeOptions</span><span class="p">()</span>
<span class="n">options</span><span class="o">.</span><span class="n">single_proxy</span> <span class="o">=</span> <span class="s2">&quot;http://user1:passwrd1@example.proxy.com:5001/&quot;</span>
</pre></div>
</div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<ul class="simple">
<li><p>Only supported when Chrome has been started with driverless or the extension at <code class="docutils literal notranslate"><span class="pre">selenium_driverless/files/mv3_extension</span></code> has been loaded into the browser.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Socks5</span></code> doesn’t support authentication due to <a class="reference external" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1309413">crbug#1309413</a>.</p></li>
</ul>
</div>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.auto_clean_dirs">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">auto_clean_dirs</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">bool</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.auto_clean_dirs" title="Link to this definition"></a></dt>
<dd><p>if user-data-dir should be cleaned automatically
defaults to True</p>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.enable_mobile">
<span class="sig-name descname"><span class="pre">enable_mobile</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">android_package</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'com.android.chrome'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">android_activity</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">device_serial</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.enable_mobile"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.enable_mobile" title="Link to this definition"></a></dt>
<dd><p>Enables mobile browser use for browsers that support it.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>android_activity</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>]</span>) – The name of the android package to start</p></li>
<li><p><strong>android_package</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – </p></li>
<li><p><strong>device_serial</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>]</span>) – </p></li>
</ul>
</dd>
<dt class="field-even">Return type<span class="colon">:</span></dt>
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
</dd>
</dl>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Not Implemented yet</p>
</div>
</dd></dl>

<dl class="py property">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.accept_insecure_certs">
<em class="property"><span class="pre">property</span><span class="w"> </span></em><span class="sig-name descname"><span class="pre">accept_insecure_certs</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">bool</span></em><a class="headerlink" href="#selenium_driverless.types.options.Options.accept_insecure_certs" title="Link to this definition"></a></dt>
<dd><dl class="field-list simple">
<dt class="field-odd">Returns<span class="colon">:</span></dt>
<dd class="field-odd"><p>whether the session accepts insecure certificates</p>
</dd>
</dl>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>NotImplemented yet</p>
</div>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.ignore_local_proxy_environment_variables">
<span class="sig-name descname"><span class="pre">ignore_local_proxy_environment_variables</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.ignore_local_proxy_environment_variables"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.ignore_local_proxy_environment_variables" title="Link to this definition"></a></dt>
<dd><p>By calling this you will ignore HTTP_PROXY and HTTPS_PROXY from
being picked up and used.
:rtype: <span class="sphinx_autodoc_typehints-type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>NotImplemented yet</p>
</div>
</dd></dl>

<dl class="py method">
<dt class="sig sig-object py" id="selenium_driverless.types.options.Options.add_experimental_option">
<span class="sig-name descname"><span class="pre">add_experimental_option</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../_modules/selenium_driverless/types/options/#Options.add_experimental_option"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#selenium_driverless.types.options.Options.add_experimental_option" title="Link to this definition"></a></dt>
<dd><p>Adds an experimental option which is passed to chromium.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>only <code class="docutils literal notranslate"><span class="pre">name=&quot;prefs&quot;</span></code> supported.
This method is deprecated and will be removed. Use <code class="xref py py-obj docutils literal notranslate"><span class="pre">ChromeOptions.update_pref</span></code> instead.</p>
</div>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>name</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code></span>) – The experimental option name.</p></li>
<li><p><strong>value</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">dict</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>]]</span>) – The option value.</p></li>
</ul>
</dd>
<dt class="field-even">Return type<span class="colon">:</span></dt>
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></span></p>
</dd>
</dl>
</dd></dl>

</dd></dl>

</section>


           </div>
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="../Chrome/" class="btn btn-neutral float-left" title="webdriver.Chrome" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="../Context/" class="btn btn-neutral float-right" title="Context" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2024, Aurin Aegerter (aka Steve, kaliiiiiiiiii).</p>
  </div>

  Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    provided by <a href="https://readthedocs.org">Read the Docs</a>.
   

</footer>
        </div>
      </div>
    </section>
  </div>
  <script>
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>